package com.xxgc.cloud.error.center.error;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * @program: SpringCloudStudy
 * @description:
 * @author: Shijiayi
 * @create: 2022-12-15 09:21
 **/

@Slf4j
@ControllerAdvice
@ResponseBody
public class JWTException {
  /*  @ExceptionHandler(value = {JWTException.class})
    public ErrResult<BaseException> quartzTimeException(QuartzTimeException e){
        log.error(e.toString());
        String msg = active.equals(myActive) ? system : e.getDefaultMessage();
        return active.equals(myActive) ? ErrResult.error(msg,e.getCode()) : ErrResult.error(msg,e.getCode(),e);
    }*/
}
